<?php 
defined('RUN_KATANA') or die('Restricted access'); 
$commander->setPostAction('editor_type');
if(defined('AJAX_RUN'))
{ require('forms/fields-items.php'); }
else
{
?>
<input type="hidden" name="type" value="<?php echo $_REQUEST['type']; ?>" />
<div class="tabs" style="height:100%;">
	<ul>
    	<li><a href="#type_info" style="font-size:0.9em;"><?php echo ucfirst($txt->getWord('ad_type')).' '.ucfirst($txt->getWord('info')); ?></a></li>
        <!--<li><a href="#provider_brands" style="font-size:0.9em;"><?php echo ucfirst($txt->getWord('brands')); ?></a></li>
        <li><a href="#provider_groups" style="font-size:0.9em;"><?php echo ucfirst($txt->getWord('productgroups')); ?></a></li>-->
	</ul>
	<div id="type_info"><?php require('forms/info.php'); ?></div> 
    <!--<div id="provider_brands"><?php // require('forms/brands.php'); ?></div> 
    <div id="provider_groups"><?php // require('forms/groups.php'); ?></div> -->
</div>
<?php 
}
?>